package com.bjb.vr.remote.ws.websocket.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
public class BaseController {

//    @Autowired
//    com.bjb.xr.rabbitmq.utils.CommonSender CommonSender;
//
//    @GetMapping("/close/{roomCode}/{deviceId}")
//    public String root(@PathVariable("roomCode") String roomCode,@PathVariable("deviceId") String deviceId) throws IOException {
//        WebSocketServer.close(roomCode,deviceId);
//        return "websocket close success";
//    }
}
